package com.vlong.town.entity.insurance;

import java.io.Serializable;
/**
 * 保险实体类
 * @author 51088
 *
 */
public class InsuranceInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Long insuranceId;// 标识信息-保险Id[主键值]
    private Long townId;// 标识信息-村镇Id
    private Integer state;// 状态信息-数据状态[1-正常 | 2-删除]
    private Integer status;// 状态信息-保险状态[1-已发布]
    private String insuranceType; //保险类型
    private String title;// 基础信息-保险标题
    private String content;// 基础信息-保险内容
    private String desc;// 基础信息-保险简介
    private String thumbnail;// 基础信息-缩略图
    private Long createTime;// 时间信息-发布时间
    private Long updateTime;// 时间信息-更新时间
    private String createDate;//时间
    
    
    
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public Long getInsuranceId() {
		return insuranceId;
	}
	public void setInsuranceId(Long insuranceId) {
		this.insuranceId = insuranceId;
	}
	public Long getTownId() {
		return townId;
	}
	public void setTownId(Long townId) {
		this.townId = townId;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getInsuranceType() {
		return insuranceType;
	}
	public void setInsuranceType(String insuranceType) {
		this.insuranceType = insuranceType;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getThumbnail() {
		return thumbnail;
	}
	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}
	public Long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	public Long getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}
	public InsuranceInfo(Long insuranceId, Long townId, Integer state,
			Integer status, String insuranceType, String title, String content,
			String desc, String thumbnail, Long createTime, Long updateTime) {
		super();
		this.insuranceId = insuranceId;
		this.townId = townId;
		this.state = state;
		this.status = status;
		this.insuranceType = insuranceType;
		this.title = title;
		this.content = content;
		this.desc = desc;
		this.thumbnail = thumbnail;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}
	public InsuranceInfo() {
		super();
	}
	@Override
	public String toString() {
		return "InsuranceInfo [insuranceId=" + insuranceId + ", townId="
				+ townId + ", state=" + state + ", status=" + status
				+ ", insuranceType=" + insuranceType + ", title=" + title
				+ ", content=" + content + ", desc=" + desc + ", thumbnail="
				+ thumbnail + ", createTime=" + createTime + ", updateTime="
				+ updateTime + "]";
	}
	

}
